--[[-- Author:      feilong-- DateTime:    2019-10-23 17:19:33-- Description:--  模拟客户端, 用于测试--]]local function main()	 g.newService("config.service")	 g.newServiceStart("redis.service")	--测试的服务	g.newServiceStart("test.service", "snapshot")	--g.newServiceStart("client.service")	--g.log:info("main__end________", _VERSION)	g.newServiceStart("robot.service")	--g.newServiceStart("cluster.service") --集群节点	----往别的节点发消息	--g.fork(function()	--	g.sleep(700)	--	local ndgames = g.call(".cluster.service", "cmd_get_nodes", "ndgame.*")	--	g.log:info("ndgames:", ndgames)	--	local ndgame = ndgames[1]	--	local res = g.message:callNodeManager(ndgame, "cluster_broadcast", "111", "222")	--	--print("2222222222", res)	--end)endg.mainStart(main)